<%@ page contentType="text/html; charset=UTF-8" %>
<form name="menuFrm" method="POST">
    <input type="hidden" name="title" value="">
    <input type="hidden" name="writer_id" value="">
    <input type="hidden" name="writer_nick_name" value="">
    <input type="hidden" name="content" value="">
    <input type="hidden" name="search_title" value="">
    <input type="hidden" name="search_writer" value="">
    <input type="hidden" name="search_nickName" value="">
    <input type="hidden" name="search_content" value="">
    <input type="hidden" name="browserType" value="">
    <input type="hidden" name="nextTarget" value="">
    <div id="wrap">
        <div>
            <%
                HttpSession s = request.getSession(false); // HttpSession 이 존재하면 세션을 반환 없으면 null 값 반환

                if(null == s.getAttribute("userId")){
            %>
            세션이 존재하지 않습니다. 메뉴를 사용할 수 없습니다.
            <%
            }else{
            %>
            <a href="index.do"><b>BETTERSOFT PORTAL</b></a>
            <div style="float: right; padding-top: 50px">
                어서오세요 <%=s.getAttribute("userId")%>(<%=s.getAttribute("name")%>)님<br/>
                | <a href="memberUpdate.do">개인정보 변경</a> | <a href="passwordConfirm.do">비밀번호 변경</a> | <a href="logout.do">로그아웃</a>
            </div>
            <div>
                | <a href="javascript:jsNoticeBoardList()">공지사항</a> | <a href="memberList.do">사원조회 | <a href="javascript:jsCommunityBoardList()">사내게시판</a> | <a href="musicBoardList.do">음악자료실</a> | <a href="movieBoardList.do">영화자료실</a> |
            </div>
            <% } %>
        </div>
    </div>
</form>